﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Tìm hiểu Objective - C phần 2</title>
<meta name="GENERATOR" content="WinCHM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

</head>

<body>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><SPAN 
class=Apple-style-span style="FONT-SIZE: large"><B><FONT color=#000000>Exception 
và handler.</FONT></B></SPAN></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>Ngôn ngữ cũng hỗ chợ các cấu trúc try - catch - throw - finally 
giống như ngôn C++ @try - @catch - @throw - @finally cách thức sử dụng cũng hoàn 
toàn tương tự.</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><B><SPAN 
class=Apple-style-span style="FONT-SIZE: large"><FONT 
color=#000000>Categories</FONT></SPAN></B></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>Là đặc điểm nếu bạn muốn mở rộng lớp bằng cách thêm mới vào lớp 
một phương thức. Khi bạn làm việc quen với OOP thì bạn sẽ thấy đây là một trong 
những thuộc tính vô cùng hữu ích của Objective C, kể cả ngay khi bạn không có mã 
nguồn của lớp nhưng bạn vẫn hoàn toàn có thể thêm phương thức cho lớp như thường 
thông qua thuộc tính này. Đặc điểm này làm giảm đi đáng kể sự kế thừa phức tạp 
trong C++ khi việc kế thừa chỉ để phục vụ cho việc thêm mới một phương thức. Mặt 
khăc việc chia mã nguồn trên nhiều files cũng giúp ích đáng kể trong việc phát 
triên.</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import "Fraction.h"</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@interface Fraction (Math)</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(Fraction*) add: (Fraction*) f;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(Fraction*) mul: (Fraction*) f;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(Fraction*) div: (Fraction*) f;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(Fraction*) sub: (Fraction*) f;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@end</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>File thực thi.</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import "FractionMath.h"</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@implementation Fraction (Math)</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(Fraction*) add: (Fraction*) f {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>return [[Fraction alloc] initWithNumerator: numerator * [f 
denominator] +</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>denominator * [f numerator]</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>denominator: denominator * [f denominator]];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(Fraction*) mul: (Fraction*) f {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>return [[Fraction alloc] initWithNumerator: numerator * [f 
numerator]</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>denominator: denominator * [f denominator]];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(Fraction*) div: (Fraction*) f {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>return [[Fraction alloc] initWithNumerator: numerator * [f 
denominator]</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>denominator: denominator * [f numerator]];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(Fraction*) sub: (Fraction*) f {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>return [[Fraction alloc] initWithNumerator: numerator * [f 
denominator] -</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>denominator * [f numerator]</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>denominator: denominator * [f denominator]];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@end</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><I><SPAN 
class=Apple-style-span style="COLOR: rgb(153,0,0)"><FONT color=#000000>- Tên của 
category phải là duy nhất</FONT></SPAN></I></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><I><SPAN 
class=Apple-style-span style="COLOR: rgb(153,0,0)"><FONT color=#000000>- Có thể 
thêm bao nhiêu lần mở rộng lơp từ category là không giới hạn nhưng với tên là 
duy nhất.</FONT></SPAN></I></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><I><SPAN 
class=Apple-style-span style="COLOR: rgb(153,0,0)"><FONT color=#000000>- Thông 
thể bổ xung biến thành phần bằng category.</FONT></SPAN></I></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><I><SPAN 
class=Apple-style-span style="COLOR: rgb(153,0,0)"><FONT color=#000000>- Có thể 
sử dụng category để tạo ra các phương thức private. Nếu 
cần.</FONT></SPAN></I></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>MyClass.h</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import<FOUNDATION nsobject.h=""></FOUNDATION></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@interface MyClass: NSObject</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) publicMethod;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@end</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>MyClass.m</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import "MyClass.h"</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import<STDIO.H></STDIO.H></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@implementation MyClass</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) publicMethod {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>printf( "public method\n" );</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@end</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>// private methods</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@interface MyClass (Private)</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) privateMethod;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@end</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@implementation MyClass (Private)</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) privateMethod {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>printf( "private method\n" );</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@end</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>main.m</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import "MyClass.h"</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>int main( int argc, const char *argv[] ) {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>MyClass *obj = [[MyClass alloc] init];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>// this compiles</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[obj publicMethod];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>// this throws errors when compiling</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>//[obj privateMethod];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>// free memory</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[obj release];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>return 0;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>cái này thật thú vị phải không, thực ra đây là một hệ quả trực 
tiếp từ đăc tính run-time của Objective C.</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><SPAN 
class=Apple-style-span style="FONT-SIZE: large"><B><FONT 
color=#000000>Protocals: Giao diện.</FONT></B></SPAN></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>Đây hoàn toàn tương đồng với khái miện lớp ảo trong C++ hoặc gọi 
là giao diện trong C# và Java. Bản thân @protocals không có sự thực thi. Nếu lớp 
nào cam kết thực thi nó thì trong phần thực thi sẽ implement các phương thức mà 
protocals khai báo.</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@protocol Printing</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) print;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@end</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>Fraction.h</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import<FOUNDATION nsobject.h=""></FOUNDATION></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import "Printing.h"</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@interface Fraction: NSObject<SPAN 
class=Apple-converted-space>&nbsp;</SPAN><PRINTING,>{</PRINTING,></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>int numerator;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>int denominator;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(Fraction*) initWithNumerator: (int) n denominator: (int) 
d;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) setNumerator: (int) d;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) setDenominator: (int) d;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) setNumerator: (int) n andDenominator: (int) 
d;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(int) numerator;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(int) denominator;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@end</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>Fraction.m</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import "Fraction.h"</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import<STDIO.H></STDIO.H></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@implementation Fraction</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(Fraction*) initWithNumerator: (int) n denominator: (int) d 
{</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>self = [super init];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>if ( self ) {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[self setNumerator: n andDenominator: d];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>return self;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) print {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>printf( "%i/%i", numerator, denominator );</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) setNumerator: (int) n {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>numerator = n;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) setDenominator: (int) d {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>denominator = d;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) setNumerator: (int) n andDenominator: (int) d 
{</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>numerator = n;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>denominator = d;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(int) denominator {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>return denominator;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(int) numerator {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>return numerator;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(Fraction*) copyWithZone: (NSZone*) zone {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>return [[Fraction allocWithZone: zone] initWithNumerator: 
numerator</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>denominator: denominator];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@end</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>Complex.h</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import<FOUNDATION nsobject.h=""></FOUNDATION></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import "Printing.h"</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@interface Complex: NSObject<SPAN 
class=Apple-converted-space>&nbsp;</SPAN><PRINTING>{</PRINTING></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>double real;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>double imaginary;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(Complex*) initWithReal: (double) r andImaginary: (double) 
i;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) setReal: (double) r;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) setImaginary: (double) i;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) setReal: (double) r andImaginary: (double) i;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(double) real;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(double) imaginary;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@end</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>Complex.m</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import "Complex.h"</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import<STDIO.H></STDIO.H></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@implementation Complex</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(Complex*) initWithReal: (double) r andImaginary: (double) i 
{</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>self = [super init];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>if ( self ) {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[self setReal: r andImaginary: i];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>return self;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) setReal: (double) r {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>real = r;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) setImaginary: (double) i {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>imaginary = i;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) setReal: (double) r andImaginary: (double) i 
{</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>real = r;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>imaginary = i;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(double) real {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>return real;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(double) imaginary {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>return imaginary;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) print {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>printf( "%_f + %_fi", real, imaginary );</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@end</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>main.m</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import<STDIO.H></STDIO.H></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import "Fraction.h"</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import "Complex.h"</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>int main( int argc, const char *argv[] ) {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>// create a new instance</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>Fraction *frac = [[Fraction alloc] initWithNumerator: 3 
denominator: 10];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>Complex *comp = [[Complex alloc] initWithReal: 5 andImaginary: 
15];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>id<SPAN 
class=Apple-converted-space>&nbsp;</SPAN><PRINTING>printable;</PRINTING></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>id<SPAN 
class=Apple-converted-space>&nbsp;</SPAN><NSCOPYING,>copyPrintable;</NSCOPYING,></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>// print it</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>printable = frac;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>printf( "The fraction is: " );</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[printable print];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>printf( "\n" );</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>// print complex</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>printable = comp;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>printf( "The complex number is: " );</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[printable print];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>printf( "\n" );</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>// this compiles because Fraction comforms to both Printing and 
NSCopyable</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>copyPrintable = frac;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>// this doesn't compile because Complex only conforms to 
Printing</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>//copyPrintable = comp;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>// test conformance</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>// true</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>if ( [frac conformsToProtocol: @protocol( NSCopying )] == YES ) 
{</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>printf( "Fraction conforms to NSCopying\n" );</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>// false</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>if ( [comp conformsToProtocol: @protocol( NSCopying )] == YES ) 
{</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>printf( "Complex conforms to NSCopying\n" );</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>// free memory</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[frac release];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[comp release];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>return 0;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><B><SPAN 
class=Apple-style-span style="FONT-SIZE: large"><FONT 
color=#000000>Properties</FONT></SPAN></B></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>Thuộc tính gần như bất cứ một ngôn ngữ mới hiện đại nào cũng hỗ 
chợ khái niệm này, đây là một khái niệm bảo toàn tính đóng gói của tư tưởng 
OOP.</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>Đối vơi ngôn ngữ ObC có mốt số những hỗ chợ đặc biệt hơn một chút 
bạn khai báo sử dụng bằng @properties cũng giống như những ngôn ngữ khác khi bạn 
sử dụng thuộc tính với ObC bạn sẽ có 2 lựa chọn là @synthesize và @dynamic, với 
lựa chọn là @synthesize thì mặc nhiên trình biên dịch sẽ giúp bạn sinh ra các 
phương thức set và get trên thuộc tính. nhưng nếu bạn lựa chọn là @dynamic thì 
mọi việc bạn phải tự làm lấy.</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>hãy xem code</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import<COCOA cocoa.h=""></COCOA></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@interface Photo : NSObject {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>NSString* caption;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>NSString* photographer;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>- (NSString*) caption;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>- (NSString*) photographer;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>- (void) setCaption: (NSString*)input;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>- (void) setPhotographer: (NSString*)input;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@end</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>và</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import<COCOA cocoa.h=""></COCOA></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@interface Photo : NSObject {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>NSString* caption;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>NSString* photographer;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@property (retain) NSString* caption;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@property (retain) NSString* photographer;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@end</FONT></DIV></body>
</html>
